package com.jin.pojo;


import org.springframework.stereotype.Component;

@Component
public class UserInfo {
    private Integer userId;
    private String userAccount;
    private String passWord;
    private String userName;
    private Integer age;
    private String userPhone;
    private String userEmail;
    private UserLevel userLevel;

    public UserInfo() {
    }

    public UserInfo(Integer userId, String userAccount, String passWord, String userName, Integer age, String userPhone, String userEmail, UserLevel userLevel) {
        this.userId = userId;
        this.userAccount = userAccount;
        this.passWord = passWord;
        this.userName = userName;
        this.age = age;
        this.userPhone = userPhone;
        this.userEmail = userEmail;
        this.userLevel = userLevel;
    }


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public UserLevel getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(UserLevel userLevel) {
        this.userLevel = userLevel;
    }
}
